<template>
  <div class="MetaSearchForm">
    <slot />
    <el-button class="searchButton" type="primary" plain @click="$emit('on-search')">搜索</el-button>
  </div>
</template>
<script>
export default {
  name: 'meta-sh-form',
  data() {
    return {}
  }
}
</script>
<style lang="less">
.MetaSearchForm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e4eaec;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 15px;
  padding: 0 15px;
  min-height: 95px;
  background-color: #ffffff;
  .el-form {
    padding-top: 22px;
    padding-bottom: 5px;
  }
  .el-form-item__label {
    font-weight: 400;
  }
  .searchButton {
    line-height: 1;
    white-space: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
</style>
